From: Florian Müllner Date: Fri, 4 Jul 2025 17:49:02 +0000 (+0200) Subject: st/button: Remove transition vfunc X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~116^2^2~65 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f94846b9be8ddd66e4cad955f8aa52dadfcfd9c1;p=gnome-shell.git st/button: Remove transition vfunc This was part of the original MxWidget import, but we never used it for anything. After more than 15 years it is unlikely that we are going to start, so remove it. Part-of: --- diff --git a/src/st/st-button.c b/src/st/st-button.c index 683af7f0a..24c41e4fb 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -114,18 +114,11 @@ static void st_button_style_changed (StWidget *widget) { StButton *button = ST_BUTTON (widget); - StButtonClass *button_class = ST_BUTTON_GET_CLASS (button); ST_WIDGET_CLASS (st_button_parent_class)->style_changed (widget); /* update the label styling */ st_button_update_label_style (button); - - /* run a transition if applicable */ - if (button_class->transition) - { - button_class->transition (button); - } } static void diff --git a/src/st/st-button.h b/src/st/st-button.h index 11a4f5138..ffce0ded2 100644 --- a/src/st/st-button.h +++ b/src/st/st-button.h @@ -35,9 +35,6 @@ struct _StButtonClass { StBinClass parent_class; - /* vfuncs, not signals */ - void (* transition) (StButton *button); - /* signals */ void (* clicked) (StButton *button, int clicked_button); };